//Source file: D:\\aaa\\com\\ce\\pms\\renovation\\model\\CheckConfirmItemDO.java

package com.ce.pms.renovation.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ce.pms.system.renovation.model.CheckConfirmItemConfigDO;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:进场确认项目 关联数据表:RM_CHECK_CONFIRM_ITEM
 *
 * @author yandawei
 * @CreateDate:2008-12-17
 */
@Entity
@Table(name = "RM_CHECK_CONFIRM_ITEM")
public class CheckConfirmItemDO implements IDomainObject {

	/**
	 *
	 */
	private static final long serialVersionUID = 7087173521674368518L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue
	@Column(name = "CHECK_CONFIRM_ITEM_ID")
	private Long keyword;

	/**
	 * 进场确认项目配置
	 */
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name = "CHECK_CONFIRM_ITEM_CONFIG_ID")
	private CheckConfirmItemConfigDO itemConfig;

	/**
	 * varchar 1-确认的 0-未确认
	 */
	@Column(name = "ISCONFIRM_YN", nullable = false, length = 1)
	private String checkYn;

	/**
	 * 备注说明
	 */
	@Column(name = "REMARK", length = 100)
	private String remark;

	/**
	 * 装修申请
	 */
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="RENOVATE_REQUISITION_ID")
	private RenovateRequisitionDO renovateRequisition;



	/**
	 * 无参构造子
	 *
	 * @roseuid 493E3FD10251
	 */
	public CheckConfirmItemDO() {

	}

	public String getCheckYn() {
		return checkYn;
	}

	public void setCheckYn(String checkYn) {
		this.checkYn = checkYn;
	}

	public CheckConfirmItemConfigDO getItemConfig() {
		return itemConfig;
	}

	public void setItemConfig(CheckConfirmItemConfigDO itemConfig) {
		this.itemConfig = itemConfig;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public RenovateRequisitionDO getRenovateRequisition() {
		return renovateRequisition;
	}

	public void setRenovateRequisition(RenovateRequisitionDO renovateRequisition) {
		this.renovateRequisition = renovateRequisition;
	}

}
